home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Camelot / Camelot 059 (1989-12)(Swedish User Group of Amiga)(SE)(PD)[WB].zip / Camelot 059 (1989-12)(Swedish User Group of Amiga)(SE)(PD)[WB].adf / Utils / tail.doc < prev    next >
Text File  |  1989-11-14  |  1KB  |  46 lines

  1.  
  2.      TAIL(1)                      User manual                       TAIL(1)
  3.  
  4.  
  5.  
  6.      ›1mNAME
  7.           ›0mtail - extract end of file
  8.  
  9.      ›1mSYNOPSIS
  10.           tail ›0m[ +/- [ number ] ›1mlc ›0m] [ file ]
  11.  
  12.      ›1mDESCRIPTION
  13.           ›0m›4mtail›0m  copies  part  of  ›4mfile›0m  (or  standard  input  if  none
  14.           specified) to standard output.
  15.  
  16.           The first option specifies where to start copying, either at
  17.           line (or character) n (option is +›4mn›0m) or n lines (characters)
  18.           before the end (option is -›4mn›0m).  ›4ml›0m specifies  that  units  of
  19.           lines are used, ›4mc›0m means characters.
  20.  
  21.      ›1mEXAMPLES
  22.  
  23.                ›0mtail -3l glups
  24.  
  25.           outputs the last 3 lines of file ›4mglups›0m.
  26.  
  27.                list | tail +25c
  28.  
  29.           prints  all but the first 24 (output ›1mstarts ›0mat character 25)
  30.           characters  of  the  output  of  ›4mlist›0m  (with  an  apropriate
  31.           shell).
  32.  
  33.      ›1mBUGS
  34.           ›0mTails  relative  to  the  end  of  the  file are stored in a
  35.           buffer, which is allocated at run-time, and thus are limited
  36.           in length.
  37.  
  38.           Lines longer than 255 characters will be split.
  39.  
  40.           When only one argument is specified, it is assumed to be the
  41.           options.
  42.  
  43.  
  44.                                       -1-
  45.  
  46.